package net.lahuobao.finance.entity.payupload;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 支付上传文件
 * @author zhangdaihao
 * @date 2016-09-07 15:17:33
 * @version V1.0   
 *
 */
@Entity
@Table(name = "pay_upload", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class PayUploadEntity implements java.io.Serializable {
	/**payUploadId*/
	private Integer payUploadId;
	/**accountRecordId*/
	private Integer accountRecordId;
	/**上传路径*/
	private String path;
	/**operateTime*/
	private Date operateTime;
	/**operateId*/
	private String operateId;
	/**类型 1充值, 2提现*/
	private Short operateType;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  payUploadId
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name ="PAY_UPLOAD_ID",nullable=false,precision=10,scale=0)
	public Integer getPayUploadId(){
		return this.payUploadId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  payUploadId
	 */
	public void setPayUploadId(Integer payUploadId){
		this.payUploadId = payUploadId;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  accountRecordId
	 */
	@Column(name ="ACCOUNT_RECORD_ID",nullable=true,precision=10,scale=0)
	public Integer getAccountRecordId(){
		return this.accountRecordId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  accountRecordId
	 */
	public void setAccountRecordId(Integer accountRecordId){
		this.accountRecordId = accountRecordId;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  上传路径
	 */
	@Column(name ="PATH",nullable=true,length=255)
	public String getPath(){
		return this.path;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  上传路径
	 */
	public void setPath(String path){
		this.path = path;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  operateTime
	 */
	@Column(name ="OPERATE_TIME",nullable=true)
	public Date getOperateTime(){
		return this.operateTime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  operateTime
	 */
	public void setOperateTime(Date operateTime){
		this.operateTime = operateTime;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  operateId
	 */
	@Column(name ="OPERATE_ID",nullable=true,precision=10,scale=0)
	public String getOperateId(){
		return this.operateId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  operateId
	 */
	public void setOperateId(String operateId){
		this.operateId = operateId;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  类型 1充值, 2提现
	 */
	@Column(name ="OPERATE_TYPE",nullable=true,precision=5,scale=0)
	public Short getOperateType(){
		return this.operateType;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  类型 1充值, 2提现
	 */
	public void setOperateType(Short operateType){
		this.operateType = operateType;
	}
}
